package com.zp.self.module.编程测试.树型结构构建;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author By ZengPeng
 * @Description
 * @date in  2021/4/9 13:40
 * @Modified By
 */
@Data
@Accessors(chain = true)
public class Tree {
    Integer id;

    Integer pid;

    String name;

    List<Tree> child;
}
